﻿/*----------------------------------------------------------------
//文件功能描述：商品推荐分页查询对象。
//创建人：赵国伟
//创建时间：2012-04-119 13:49:54
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shopping.Common;

namespace Shopping.Model
{
    public class QueryCommendAsPage : AsPage
    {
        /// <summary>
        /// 商品关键字；
        /// </summary>
        public string KeyWords;

        /// <summary>
        /// 商品推荐类别；
        /// </summary>
        public int CategoryID;


        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="IsAutoLoadParams">是否自动加载查询参数</param>
        public QueryCommendAsPage(bool IsAutoLoadParams)
        {
            if (!IsAutoLoadParams)
                return;
            this.KeyWords = Utility.G("KeyWords");
            this.CategoryID = Utility.G<int>("CategoryID");
            base.CurPage = Utility.G<int>("CurPage");
            if (base.CurPage <= 0) base.CurPage = 1;
        }

    }
}
